﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002D1 RID: 721
	public class TExceptionHandlerList : TParseTreeNodeList
	{
		// Token: 0x0600183D RID: 6205 RVA: 0x00329158 File Offset: 0x00327358
		public virtual void addExceptionHandler(TExceptionHandler groupByItem)
		{
			base.addElement(groupByItem);
		}

		// Token: 0x0600183E RID: 6206 RVA: 0x00329161 File Offset: 0x00327361
		public virtual TExceptionHandler getExceptionHandler(int position)
		{
			if (position < base.size())
			{
				return (TExceptionHandler)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x0600183F RID: 6207 RVA: 0x0032917A File Offset: 0x0032737A
		internal override void addParseTreeNode(object arg1)
		{
			this.addExceptionHandler((TExceptionHandler)arg1);
		}

		// Token: 0x06001840 RID: 6208 RVA: 0x00329188 File Offset: 0x00327388
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001841 RID: 6209 RVA: 0x00329198 File Offset: 0x00327398
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getExceptionHandler(i).acceptChildren(v);
			}
			v.postVisit(this);
		}
	}
}
